/**
 * 
 * @authors Your Name (you@example.org)
 * @date    2018-01-03 20:19:48
 * @version $Id$
 */
var list = $(".A-cont");
for(var i=0;i<list.length;i++){
	(function(i){
		list.eq(i).click(function(){
			var jsons = {};
			jsons.name = $(this).find("#realname").text();
			jsons.phone = $(this).find("#pmobile").text();
			jsons.address = $(this).find("#address").text();
			localStorage.orderMsg = JSON.stringify(jsons);
			console.log(jsons)
			console.log(localStorage.orderMsg)
			var str = JSON.parse(localStorage.orderMsg)
			console.log(str.name)

			window.location.href = 'order_confirm.html';
		})
	})
(i)}
